#ifndef __EEPROM_H
#define __EEPROM_H

#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/
#include "MS51_16K.H"

/* Exported types ------------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void Write_DATAFLASH_BYTE(unsigned int u16EPAddr, unsigned char u8EPData);
void Write_DATAFLASH_ARRAY(unsigned int u16_addr, unsigned char *pDat, unsigned int num);
void Read_DATAFLASH_ARRAY(unsigned int u16_addr, unsigned char *pDat, unsigned int num);
unsigned char WriteDataToOnePage(unsigned int u16_addr, const unsigned char *pDat, unsigned char num);

#ifdef __cplusplus
}
#endif  /* #ifdef __cplusplus */
#endif  /* #ifndef __EEPROM_H */
